package com.satchi.service;

import java.util.List;

import com.satchi.dao.imp.LoginUserDaoImp;
import com.satchi.hib.pojo.FinUser;
import com.satchi.struts.ActionHelper;

public class LoginUserService extends LoginUserDaoImp {
	public FinUser loginUserService(FinUser fu)
	{
		List<FinUser> list = getloginUserRole(fu);
		if (list.size() > 0){
			return list.get(0);
		} else {
			return null;
		}
	}

	public FinUser get(String uid) {
		return get(FinUser.class, uid);
	}
}
